package com.ld.security.server.admin.modules.ge.entity;



import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.core.base.column.ListJson;
import com.ld.security.common.core.base.column.MapJson;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import com.ld.security.server.admin.modules.ge.constant.GeEarlyModelconstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("ge_early_model")
@ApiModel("预警模型")
@Data
public class GeEarlyModelEntity  extends SuperEntity{




  @SqlKey(SqlCondition.eq)
  @ApiModelProperty("模型编号")
private String modelId;



  @SqlKey(SqlCondition.like)
  @ApiModelProperty("标题")
private String label;



  @SqlKey(SqlCondition.like)
  @ApiModelProperty("预警目标")
private String earlyTarget;




  @SqlKey(SqlCondition.anon)
  @ApiModelProperty("预警函数")
private String resultFunc;




  @SqlKey(SqlCondition.eq)
  @ApiModelProperty("编码")
private String code;

  @SqlKey(SqlCondition.eq)
  @ApiModelProperty("参数配置")
  private MapJson mapConfig;

  @SqlKey(SqlCondition.eq)
  @ApiModelProperty("预警类型")
  private GeEarlyModelconstant.earlyType earlyType;
        }
